home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-ARM / ARCH-RPC / SERIAL.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  1KB  |  41 lines

  1. /*
  2.  * linux/include/asm-arm/arch-rpc/serial.h
  3.  *
  4.  * Copyright (c) 1996 Russell King.
  5.  *
  6.  * Changelog:
  7.  *  15-10-1996    RMK    Created
  8.  */
  9. #ifndef __ASM_ARCH_SERIAL_H
  10. #define __ASM_ARCH_SERIAL_H
  11.  
  12. /*
  13.  * This assumes you have a 1.8432 MHz clock for your UART.
  14.  *
  15.  * It'd be nice if someone built a serial card with a 24.576 MHz
  16.  * clock, since the 16550A is capable of handling a top speed of 1.5
  17.  * megabits/second; but this requires the faster clock.
  18.  */
  19. #define BASE_BAUD (1843200 / 16)
  20.  
  21. #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
  22.  
  23.      /* UART CLK        PORT  IRQ     FLAGS        */
  24. #define SERIAL_PORT_DFNS \
  25.     { 0, BASE_BAUD, 0x3F8, 10, STD_COM_FLAGS },    /* ttyS0 */    \
  26.     { 0, BASE_BAUD, 0x2F8, 10, STD_COM_FLAGS },    /* ttyS1 */    \
  27.     { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },    /* ttyS2 */    \
  28.     { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },    /* ttyS3 */    \
  29.     { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },     /* ttyS4 */    \
  30.     { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },    /* ttyS5 */    \
  31.     { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },    /* ttyS6 */    \
  32.     { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },    /* ttyS7 */    \
  33.     { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },    /* ttyS8 */    \
  34.     { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },    /* ttyS9 */    \
  35.     { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },    /* ttyS10 */    \
  36.     { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },    /* ttyS11 */    \
  37.     { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },    /* ttyS12 */    \
  38.     { 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },    /* ttyS13 */
  39.  
  40. #endif
  41.